package model;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

/**
 * @aythor:侯仪澳
 * @data:2022/7/21
 */
public class Order {
    private String orderNo;
    private Integer uId;
    private String uName;
    private BigDecimal orderMoney;
    private Integer orderStatus;
    private Date createTime;
    private Integer preStatus;

    //联查字段
    private Integer gId;
    private Integer gCount;
    private Integer buyCount;


    public Order() {
    }

    public Order(String orderNo) {
        this.orderNo = orderNo;
    }

    public Order(String orderNo, Integer orderStatus) {
        this.orderNo = orderNo;
        this.orderStatus = orderStatus;
    }


    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getPreStatus() {
        return preStatus;
    }

    public void setPreStatus(Integer preStatus) {
        this.preStatus = preStatus;
    }

    public Integer getgId() {
        return gId;
    }

    public Integer getgCount() {
        return gCount;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public void setgCount(Integer gCount) {
        this.gCount = gCount;
    }

    public Integer getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }
}
